import request from '@/utils/request'

export function getList(data) {
  return request({
    url: '/userManagement/getList',
    method: 'post',
    data,
  })
}

export function doEdit(data) {
  return request({
    url: '/userManagement/doEdit',
    method: 'post',
    data,
  })
}

export function doDelete(data) {
  return request({
    url: '/userManagement/doDelete',
    method: 'post',
    data,
  })
}
export function roleAdd(data) {
  return request({
    url: '/juese/add',
    method: 'post',
    data,
  })
}
export function roleUpdate(data) {
  return request({
    url: '/juese/update',
    method: 'post',
    data,
  })
}
export function addUser(data) {
  return request({
    url: '/yonghu/add',
    method: 'post',
    data,
  })
}
export function EditUser(data) {
  return request({
    url: '/yonghu/update',
    method: 'post',
    data,
  })
}
export function CheckPassword(data) {
  return request({
    url: '/yonghu/checkPassword',
    method: 'post',
    data,
  })
}

export function DelUser(data) {
  return request({
    url: '/yonghu/delete',
    method: 'post',
    data,
  })
}



